package com.spic.business.constant;

/**
 * @author 290512
 * @create 2022-05-17 16:08
 */
public class RabbitMQConstant
{
    //exchange 交换机
    public static final String EXCHANGE ="position_report_exchange";
    //队列名称
    public static final String QUEUE ="position_report_queue";
    //routingKey
    public static final String ROUTING_KEY ="position.report.notify";

    //是否持久化
    public static final String DERABLE = "true";

    //消息路由规则
    public final static String TYPE = "topic";

    // 忽略声明异常
    public final static String IGNOREDECEXCEPTION = "true";
    /**
     *  绑定的路由键或模式。
     *      *（星号）：可以（只能）匹配一个单词
     *       #（井号）：可以匹配多个单词（或者零个）
     */
    public final static String KEY = "position.report.#";


}
